<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>key管理</title>
	<#include "/commen/commenftl.ftl" >
	<#include "/commen/commenJs.ftl">
	<#include "/commen/commenCss.ftl">
    <script src="${base}/statics/js/user/KeyManage.js" type="text/javascript"></script>
</head>

<body>
<div id="main" class="easyui-layout" data-options="fit:true">
<div id="key_div_1" data-options="region:'north'" title="查询条件" style="width:300px;">
    <div id="key_div_2" class="zg_search" data-options="fit:true" style="height:auto;">
    <div id="searchDiv" title="查询条件" style="padding:10px">
	    <form id = 'querySubmit'>
	        <table id="key_table_1" cellpadding="7">
	            <tr>
	                <td>key:</td>
	                <td>
	            		<input id="cdKey" data-options="validType:['lengthIncludeChinese[0,60]']"  class="easyui-textbox trim_easyuiinput" type="text" style="width: 150px;">
	                </td>
                    <td valign="bottom">类型:</td>
                    <td>
                        <select class="easyui-combobox"  id = "kType" data-options="editable:false,panelHeight:'auto'"  style="width: 100px;">
                            <option value="" selected="selected">全部</option>
                            <option value="999">管理员</option>
                            <option value="555">会员</option>
                            <option value="666">教练</option>
                        </select>
                    </td>
                    <td valign="bottom">使用状态:</td>
                    <td>
                        <select class="easyui-combobox"  id = "kIsused" data-options="editable:false,panelHeight:'auto'"  style="width: 100px;">
                            <option value="" selected="selected">全部</option>
                            <option value="T">已使用</option>
                            <option value="F">未用</option>
                        </select>
                    </td>
                    <td valign="bottom">信息状态:</td>
                    <td>
                        <select class="easyui-combobox"  id = "kIsvalid" data-options="editable:false,panelHeight:'auto'"  style="width: 100px;">
                            <option value="" selected="selected">全部</option>
                            <option value="T">有效</option>
                            <option value="F">无效</option>
                        </select>
                    </td>
	                <td>
	                <a id="key_a_1" href="javascript:void(0)"  class="easyui-linkbutton" data-options="iconCls:'icon-search'" style="width:95px; height:22px;" onclick="querykeyInfo()">搜索</a>
	                </td>
                    <td>
                        <a id="key_a_5" href="javascript:void(0)"  class="easyui-linkbutton" data-options="iconCls:'icon-clear'" style="width:95px; height:22px;" onclick="clearInfo()">清空</a>
                    </td>
	            </tr>
				<tr>
					<td>
					</td>
                    <td>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                    <td valign="bottom">生成类型:</td>
                    <td>
                        <select class="easyui-combobox"  id = "addkType" data-options="editable:false,panelHeight:'auto'"  style="width: 100px;">
                            <option value="555" selected="selected">会员</option>
                            <option value="999">管理员</option>
                            <option value="666">教练</option>
                        </select>
                    </td>
                    <td>
                        <a id="key_a_4" href="javascript:void(0)"  class="easyui-linkbutton" data-options="iconCls:'icon-add'" style="width:95px; height:22px;" onclick="addkeyInfo()">新增</a>
                    </td>
                    <td>
                        <a id="key_a_4" href="javascript:void(0)"  class="easyui-linkbutton" data-options="iconCls:'icon-remove'" style="width:95px; height:22px;" onclick="openOrClosekeyInfo()">启用/禁用</a>
                    </td>
				</tr>
	        </table>
	    </form>
    </div>
    </div>
</div>
    <div id="key_div_3" data-options="region:'center',title:'查询结果'" style="padding: 10px;height:600px;">
		<table id="key_table_2"  class="easyui-datagrid"   >
		</table>
	</div>
 </div>
</body>
</html>
